package com.atguigu.tingshu.model.search;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 专辑属性值索引
 * @author sun
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AttributeValueIndex {
	/**
	 * 属性id
	 */
	@Field(type = FieldType.Long)
	private Long attributeId;
	/**
	 * 属性值id
	 */
	@Field(type = FieldType.Long)
	private Long valueId;

}